<script src="http://static.cy2009.com/js/libs/swfobject.js" type="text/javascript"></script>
<script src="http://static.cy2009.com/js/libs/jui/jquery.ui.datepicker.min.js" type="text/javascript"></script>
<script src="http://static.cy2009.com/js/libs/jui/i18n/jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$("#bdate").datepicker({
			'dateFormat' : 'yy-mm-dd'
		});
		$("#edate").datepicker({
			'dateFormat' : 'yy-mm-dd'
		});
	});
</script>

<style>
#search{
	margin: 10px
}
#search input{
	width: 80px
}
td{text-align: center}
</style>
	

<form method="get">
<?php echo form_action($r)?>
<div id="search">
查询日期：
<input type="text" name="bdate" id="bdate" value="<?php echo $bdate?>" />
<input type="text" name="edate" id="edate" value="<?php echo $edate?>" />
<input type="submit" value="查询" />
</div>
</form>

<?php
echo $ohtml
?>
